package com.lsm.sm.entity;

/**
 * Usereducation entity. @author MyEclipse Persistence Tools
 */

public class UserEducation extends Model{
	private static final long serialVersionUID = 316560134126701977L;
	// Fields    
    private Integer user;		
    private String school;		//学校名
    private String academy;		//院校
    private String faculty;		//专业
    private String clazz;		
    private Short grade;		
    private Short category;		
    
    // Constructors
    /** default constructor */
    public UserEducation() {}
    
    public Integer getUser() {
        return this.user;
    }
    
    public void setUser(Integer user) {
        this.user = user;
    }
    
    public String getSchool() {
        return this.school;
    }
    
    public void setSchool(String school) {
        this.school = school;
    }
    
    public String getAcademy() {
        return this.academy;
    }
    
    public void setAcademy(String academy) {
        this.academy = academy;
    }

    public String getFaculty() {
        return this.faculty;
    }
    
    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }
    
    public String getClazz() {
        return this.clazz;
    }
    
    public void setClazz(String clazz) {
        this.clazz = clazz;
    }
    
    public Short getGrade() {
        return this.grade;
    }
    
    public void setGrade(Short grade) {
        this.grade = grade;
    }

    public Short getCategory() {
        return this.category;
    }
    
    public void setCategory(Short category) {
        this.category = category;
    }
    
    
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserEducation other = (UserEducation) obj;
		if (user == null) {
			if (other.user != null)
				return false;
		} else if (!user.equals(other.user))
			return false;
		return true;
	}
}